find the curvature and torsion of the curve